basic sorting, finalized data models