make prescription sortable so it appear sorted