[OE-4660] advanced patient search ordering