alternative method to sort results in a defined order