fixed a bug in getLoadedGIDs(..), now it will sort the results...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
converted marks.js to sparse list...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>