Sort database list

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Provide not IS based implementation

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>