Make sure array index is now called out of range. We only sort by low atomic number elements to minimise ring double bonds flipping between.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>