fixed sort order and added initdb route