switched classes to ids for sorting links