optimize links controller further
optimize links controller further

Apply special order to links collection in every
case.
Also set @links instance variable in every case.
And cut down on the obsolete/duplication.

ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub