Projects referenced by -buildpath are always built first but sometimes you need to specify projects to be build first which are not referenced by -buildpath. You can specify those additional projects using -dependson.
-buildpath
-dependson
-dependson: projA, projB