Sorted Python Return Value To Command