API: DB field-based sorting