How to sort two lists? Sort distance
|
12-03-2019, 07:30 PM
(This post was last modified: 12-06-2019 09:35 PM by StephenG1CMZ.)
Post: #19
|
|||
|
|||
RE: How to sort two lists?
Here is a version that works with your choice of sort (distance) function as a parameter:
Code:
SortByFun has now been added to my collection of sort routines: https://www.hpmuseum.org/forum/thread-11...#pid124491 Ailoher, did you have any specific sort distance function in mind? Or is ABS(LST-Item) OK? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)