I am brand new here and don't mean to be flippant, but is this a joke?
Yes, it's a joke, with a point. The point being that we can't find the
problem if you don't show us code that exhibits the problem.
In the unlikely event that Arrays.sort had a bug that showed already
at 2700 elements, and that we knew of it, we could, in theory, guess
that it was that bug you were hitting.
As someone else said, the probability of the bug being in the standard
library vs. the probability of it being in your code suggests that you
should just go ahead and show your code ... or rather show a nicely
reduced example without unnecessary distractions but which still
exhibits the problem.
Often, the act of cutting down to a SSCCE (Small Self-Contained Compilable
Example) will reveal the bug along the way.
Also remember to note which JVM version you are running on. If the bug
is related to the standard library, then that might also be important.
In general, when you need help with a programming problem, you should
provide enough information for us to do the "Three R's". We need to be able
to:
Reproduce the problem: Say what you do. Be precise (give a SSCCE
that exhibits the problem). Further details are good.
Recognize the problem: Say what happens that you consider as the problem.
It might be expected behavior. It might not happen to to someone with
a different configuration.
Repair the problem: Say what you expected to happen. Can't fix the
problem if we don't know what to fix it *to*.
/L